package com.jackiechancinema.ssm.dao;

import com.jackiechancinema.ssm.bo.ScheduleBO;
import com.jackiechancinema.ssm.entity.Perf;
import com.jackiechancinema.ssm.entity.Schedule;

import java.util.List;

public interface ScheduleDao {
    //列表查询数据
    List<Schedule> queryAllPlus(Schedule schedule);

    List<Schedule> queryAll();
    //添加数据
    int insert(Schedule schedule);
    //删除数据
    int delete(int scheduleId);
    //更改元素
    int update(Schedule schedule);

    int insertBatch(List<Schedule> list);
}
